package com.iot.domain;

public class ResponseResult {


    private  Boolean  success;
    private  Integer  status;
    private  String msg;
    private  Object  content;



    public ResponseResult() {
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public ResponseResult(Boolean success, Integer status, String msg, Object content) {
        this.success = success;
        this.status = status;
        this.msg = msg;
        this.content = content;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }



    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "ResponseResult{" +
                "success=" + success +
                ", state=" + status +
                ", message='" + msg + '\'' +
                ", context=" + content +
                '}';
    }
}